package cn.formaggie.service.face;

import cn.formaggie.entity.model.order.Order;

import java.util.List;
import java.util.Map;

public interface OrderService {

    List<Order> getAllOrders();

    List<Order> findOrders(Map<String,Object> map);

    Integer getOrdersCount(Map<String,Object> map);

    Boolean addOrder(Order order);

    Boolean modifyOrderInfo(Order order);

    Boolean modifyState(Order order);

    Boolean deleteOrder(Integer id);
}
